set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  support
  )

add_clang_executable(clang-extdef-mapping
  ClangExtDefMapGen.cpp
  )

target_link_libraries(clang-extdef-mapping
  PRIVATE
  clangAST
  clangBasic
  clangCrossTU
  clangFrontend
  clangSerialization
  clangTooling
  )

install(TARGETS clang-extdef-mapping
  RUNTIME DESTINATION bin)
